package com.ajx.blog.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/*
 * @Author: 姜东浩
 * @Date: 2022-04-22 23:52:23
 * 
 * @Description: 支出单明细
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "expense_report_detail")
public class ExpenseReportDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "edid", type = IdType.AUTO)
    private Integer edid; // 支出明细单主键id

    @TableField(value = "eid")
    private Integer eid; // 支出单id

    @TableField(value = "createtime")
    private String createtime; // 创建时间 数据库timestamp类型,默认自动添加

    @TableField(value = "money")
    private Double money; // 支出金额

    @TableField(value = "type")
    private String type; // 当月评论量,当月收藏量,当月粉丝量

    @TableField(value = "content")
    private Integer content; // 数据

    @TableField(value = "remark")
    private String remark; // 备注

}
